package com.ctosb.classviewer.clazz.attr;

import com.ctosb.classviewer.ClassReader;
import com.ctosb.classviewer.clazz.AbstractParse;
import com.ctosb.classviewer.clazz.Parseable;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class Line_number_table extends AbstractParse {

    private short start_pc;
    private short line_number;

    @Override
    public Line_number_table parse(ClassReader classReader) {
        start_pc = classReader.readShort();
        line_number = classReader.readShort();
        return this;
    }

}
